package com.ccrfid.rmc6.repository.business.chongqing;

import com.ccrfid.rmc6.entity.business.chongqing.CQPatrolRoadEntity;
import com.ccrfid.rmc6.repository.search.SearchableRepository;
import org.springframework.data.repository.Repository;

import java.util.List;

public interface CQPatrolRoadRepository extends Repository<CQPatrolRoadEntity, Long>,
        SearchableRepository<CQPatrolRoadEntity> {

    List<CQPatrolRoadEntity> getAllBy();

    CQPatrolRoadEntity getById(Long id);

    CQPatrolRoadEntity save(CQPatrolRoadEntity entity);

    void deleteById(Long id);

    boolean existsById(Long id);
}
